package com.bank.backend.boot;

import com.bank.backend.boot.server.kafka.ProducerKafka;
import jakarta.annotation.Resource;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class BankBackendBootApplicationTests {

    @Resource
    private ProducerKafka producerKafka;

    @Test
    void sendMessage() {
        producerKafka.send("bank-backend-trade", "test");
    }

}
